package com.assistant.api.facade;

import com.assistant.api.dto.CommonDto;
import com.assistant.api.request.SysOperLogSearchReq;
import com.assistant.api.response.SysOperLogSearchResp;
import com.assistant.api.response.UserSearchResp;

public interface ToolFacade {
    /**
     * 获取通用结果
     *
     * @param id
     * @return
     */
    CommonDto getResult(Long id);

    /**
     * 获取唯一值
     *
     * @return
     */
    String generateUniqueKey();


    /**
     * 查询用户
     * @param userId
     * @param realName
     * @return
     */
    UserSearchResp searchUser(Long userId,String realName);

    /**
     * 查询日志
     *
     * @return
     */
    SysOperLogSearchResp searchSysOperLogs(SysOperLogSearchReq sysOperLogSearchReq);
}
